package com.yu.shortlink.project.common.constant;

/**
 * @Author yushiwang
 * @Date 2024/6/19 21:38
 * @PackageName:com.yu.shortlink.project.common.constant
 * @ClassName: RedisKeyConstant
 * @Version 1.0
 */

/**
 * Redis Key 常量类
 */
public class RedisKeyConstant {

    /**
     * 短链接跳转前缀Key
     */
    public static final String GOTO_SHORT_LINK_KEY = "short-link_goto_%s";


    /**
     * 短链接空值跳转前缀Key
     */
    public static final String GOTO_IS_NULL_SHORT_LINK_KEY = "short-link_is-null_goto_%s";



    /**
     * 短链接跳转分布式锁名
     */
    public static final String LOCK_GOTO_SHORT_LINK_KEY = "short-link_lock_goto_%s";
}
